﻿using Common.Contract.Authentication.Record;
using Common.Contract.Paging;
using Common.Contract.SystemConfig.Record;
using System.Runtime.Serialization;

namespace Common.Contract
{
    [DataContract]
    public abstract class SearchRequest
    {
        [DataMember]
        public RequestHeaderRecord Header { get; set; }
        [DataMember]
        public PageRecord Page { get; set; }
        [DataMember]
        public SortRecord Sort { get; set; }
        [DataMember]
        public UserRecord CurrentUser { get; set; }
        [DataMember]
        public FilterRecord Filter { get; set; }
    }
}
